package com.qcby.pushservice.base.service;

import com.qcby.framework.common.pojo.PageParam;
import com.qcby.framework.common.pojo.PageResult;
import com.qcby.framework.common.pojo.Result;
import com.qcby.pushservice.base.dto.BusinessClientDTO;

/**
 * 考试服务
 *
 * @author cong.zhen
 * @date 2023/04/11
 */
public interface IBusinessClientService {


    /**
     * 演示页面查询
     * 分页查询
     *
     * @param pageParam         页面参数
     * @param businessClientDTO 业务客户端dto
     * @return {@link Result}<{@link PageResult}<{@link BusinessClientDTO}>>
     */
    Result<PageResult<BusinessClientDTO>> demoPageQuery(BusinessClientDTO businessClientDTO, PageParam pageParam);


    /**
     * 通过id获取
     *
     * @param id id
     * @return {@link BusinessClientDTO}
     */
    BusinessClientDTO getDemoById(Long id);


    /**
     * 保存或更新
     *
     * @param businessClientDTO 业务客户端dto
     * @return {@link Boolean}
     */
    Boolean saveOrUpdate(BusinessClientDTO businessClientDTO);


    /**
     * 删除通过id
     *
     * @param id id
     * @return {@link Boolean}
     */
    Boolean removeById(Long id);


}
